import request from '@/utils/request_1'

// 封装dashboard页的相关请求

// 待办信息
export const getTodoInformation = () =>
  request({
    url: '/home/todo',
    method: 'get'
  })

// 库区使用情况
export const getAreaUseInformation = () =>
  request({
    url: '/home/areaUseStatus',
    method: 'get'
  })

// 库存使用情况
export const getStorageUseInformation = () =>
  request({
    url: '/home/stockUseStatus',
    method: 'get'
  })

// 出入库信息
export const getStorageInOutUseInformation = (params: any) =>
  request({
    url: '/home/sumList',
    method: 'get',
    params
  })
